﻿{include file="Public/public" /}
<body>
 <div class="wrap">
  <div class="page-title">
    <span class="modular fl"><i class="account_user"></i><em>会员列表</em></span>
    <span class="modular fr"><a href="/adminmember/account_details/id/{$member['id']}" class="pt-link-btn">个人附件                                      </a></span>
    <span class="modular fr"><a href="/adminmember/xd_list/id/{$member['id']}/name/{$member['name']}" class="pt-link-btn">心动对象</a></span>
  
  </div>
  
  <table class="noborder">
   <tr>
    <td style="text-align:right;width:15%;">当前会员呢称：</td>
    <td>{$member['name']}</td>
   </tr>
    <tr>
        <td style="text-align:right;width:15%;">电话号码：</td>
        <td>{$member['phone']}</td>
    </tr>
    <tr>
        <td style="text-align:right;width:15%;">居住地址：</td>
        <td>{$memberinfo['address']}</td>
    </tr>
    <tr>
          <td style="text-align:right;width:15%;">年龄：</td>
          <td>{$memberinfo['age']}</td>
    </tr>
    <tr>
        <td style="text-align:right;width:15%;">身高：</td>
        <td>{$memberinfo['shengao']}</td>
  </tr>
  <tr>
    <td style="text-align:right;width:15%;">收入：</td>
    <td>{$memberinfo['income']}</td>
</tr>
<tr>
    <td style="text-align:right;width:15%;">学历：</td>
    <td>{$memberinfo['education']}</td>
</tr>
    <tr>
        <td style="text-align:right;width:15%;">性别：</td>
        <td>{if condition="$member['sex']==0"}保密{elseif condition="$member['sex']==1"}男{else}女{/if}</td>
    </tr>
    <tr>
        <td style="text-align:right;">个人简介：</td>
        <td>
         <textarea class="textarea" style="height:100px;outline:none;">{$memberinfo['jianjie']}</textarea>
        </td>
       </tr>
    <tr>
        <td style="text-align:right;width:15%;">购买会员天数：</td>
        <td>{$memberinfo['enddays']}</td>
    </tr>
    <tr>
        <td style="text-align:right;width:15%;">会员充值时间：</td>
        <td>{$memberinfo['rechargetime']|date="Y-m-d H:i:s",###}</td>
    </tr>
    <tr>
          <td style="text-align:right;width:15%;">会员结束时间：</td>
          <td>{$memberinfo['rechargeendtime']|date="Y-m-d H:i:s",###}</td>
    </tr>
    <tr><td>择偶标准：</td><td>————————————————————————</td></tr>
    <tr>
            <td style="text-align:right;width:15%;">年龄：</td>
            <td>{$spo['age']}</td>
    </tr>
    <tr>
            <td style="text-align:right;width:15%;">身高：</td>
            <td>{$spo['heigth']}</td>
    </tr>
    <tr>
            <td style="text-align:right;width:15%;">学历：</td>
            <td>{$spo['education']}</td>
    </tr>
    <tr>
            <td style="text-align:right;width:15%;">收入：</td>
            <td>{$spo['income']}</td>
    </tr>
   <tr>
      <td style="text-align:right;">审核：</td>
      <td>
       <select class="textBox" name="status">
        <option value="0" {if condition="$member['status']==0"}selected{/if}>未审核</option>
        <option value="1" {if condition="$member['status']==1"}selected{/if}>未通过审核</option>
        <option value="2" {if condition="$member['status']==2"}selected{/if}>通过审核</option>
       </select>
      </td>
  </tr>
   <tr>
    <td style="text-align:right;"></td>
    <td>
     <input type="submit" value="确认" class="tdBtn"/>
    </td>
   </tr>
  </table>
 </div>
</body>
</html>
<script>
  $(".tdBtn").click(function(){
    var status=$("option:selected").val();
    var shenhe=$("option:selected").html();
    var id = "{$member['id']}";
    $.post("/adminmember/dostatus",{status:status,id:id},function(data){
      alert(data);
    })
  })
</script>